package com.unit.test.service;

import com.unit.test.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ServiceA {
    @Autowired
    ServiceB serviceB;

    public User getUserVo(Integer userid) {
        return serviceB.getUserById(userid);
    }

}
